package com.android.UrbanRemix;

/**
 * This is a payload that goes into the AsyncTask which it operates on.
 * @author BD
 */
import java.net.MalformedURLException;
import java.net.URL;

public class PreviewTaskInputPayload {

	private URL url;
	private int latitude, longitude;

	public PreviewTaskInputPayload(String stringURL, int latitude, int longitude) {
		try {
			this.url = new URL(stringURL);
			this.latitude = latitude;
			this.longitude = longitude;
		} catch (MalformedURLException e) {
			e.printStackTrace();
		}
	}

	public URL getURL() {
		return url;
	}

	public int getLatitude() {
		return latitude;
	}

	public int getLongitude() {
		return longitude;
	}

}
